<template>
  <div>
    <van-nav-bar left-arrow right-text="搜索" @click-left="onClickLeft">
      <template #title>
        <van-search
          v-model="value"
          shape="round"
          placeholder="请输入搜索关键词"
        />
      </template>
    </van-nav-bar>
  </div>
</template>

<script>
export default {
  data() {
    return {
      value: "",
    };
  },
  methods: {
    onClickLeft() {
      this.$router.push("/Home");
    },
  },
};
</script>

<style>
</style>